<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<script src="../js/jquery.min.js" type="text/javascript">
			
		</script>
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		/*
		 jquery提供ajax，参数是一个js对象
		 */
		$.ajax({
			type:"POST",//发起一个post请求
			url:"https://p.3.cn/prices/mgets",
			data:{
				"skuIds":"J_100008348542"
			},
			contentType:"application/json;charset=utf-8",
			dataType:"jsonp",
			success:function(data){
				console.log("访问成功")
				console.log(data)
			},
			error:function(e){
				console.log("访问失败")
			}
		})
	</script>
</html>
